
/**
 * store
 */

import Vue from 'vue';
import Vuex from 'vuex';

Vue.use(Vuex);


const state = {
	index: 0,
	loading: false
}

const mutations = {
	ADD_INDEX( state ) {
		state.index++;
	}
}


export default new Vuex.Store({
	state,
	mutations
});
